const redis = require('redis');
const {
	REDIS_CONF
} = require('../conf/db.js')

const redisCli = redis.createClient(REDIS_CONF.port, REDIS_CONF.host)

redisCli.on('err', (err) => {
	console.log('redis err' + err);
})

module.exports = redisCli
